
package t1;

import java.io.File;
import java.io.FilenameFilter;

/**
 * @author Ferreyra Montes, Emmanuel Alan
 * @legajo 49271
 * @curso 4K6 - Turno Mañana
 */
public class FiltroBak implements FilenameFilter{

    private String extension;

    /**
     *
     * @param e
     */
    public FiltroBak(String e){
        this.extension = e;
    }

    public boolean accept(File dir, String name) {
        return (name.endsWith(extension));
    }

}
